<script setup lang="ts">

import {ref, watch} from "vue";
import {useRoute, useRouter} from "vue-router";
import router from "@/router";


const active = ref(0);


</script>

<template>


  <router-view/>


  <van-tabbar v-model="active">
    <van-tabbar-item to="/home" icon="home-o">主页</van-tabbar-item>
    <van-tabbar-item to="/blog" icon="notes-o">博客</van-tabbar-item>
    <van-tabbar-item to="/message" icon="comment-o">消息</van-tabbar-item>
    <van-tabbar-item to="/team" icon="flag-o">队伍</van-tabbar-item>
    <van-tabbar-item to="/self" icon="friends-o">用户</van-tabbar-item>
  </van-tabbar>
</template>

<style scoped>

</style>
